package com.dzl.goods.service;

import com.dzl.base.service.BaseService;
import com.dzl.goods.pojo.WelfareGoodsLabel;
import com.dzl.goods.pojo.query.WelfareGoodsLabelQuery;
import com.dzl.goods.pojo.vo.WelfareGoodsLabelVo;
import com.github.pagehelper.PageInfo;

/**
 * 商品标签表(WelfareGoodsLabel)表服务接口
 * @author wangjian
 * @date 2021-08-02 09:34:22
 */
public interface WelfareGoodsLabelService extends BaseService<WelfareGoodsLabel> {
    /**
     * 筛选查询商品标签列表
     * @date 2021/8/2 0002 10:18
     * @author wangjian
     * @param query 查询条件
     * @return java.util.List<com.dzl.goods.pojo.vo.WelfareGoodsLabelVo>
     */
    PageInfo<WelfareGoodsLabelVo> queryGoodsLabelListPage(WelfareGoodsLabelQuery query);

    /**
     * 保存商品标签
     * @date 2021/8/2 0002 10:47
     * @author wangjian
     * @param welfareGoodsLabel 标签信息
     * @return java.lang.Integer
     */
    Integer updateGoodsLabel(WelfareGoodsLabel welfareGoodsLabel);

    /**
     * 删除商品标签
     * @param labelId 标签ID
     * @author liuguanjun
     * @date 2021-12-20 09:09:21
     **/
    Integer deleteGoodsLabel(Integer labelId);

    /**
     * 商品标签置顶
     * @param labelId 标签ID
     * @author liuguanjun
     * @date 2021-12-17 16:13:21
     **/
    Integer updateGoodsLabelToTop(Integer labelId);

    /**
     * 商品标签取消置顶
     * @param labelId 标签ID
     * @author liuguanjun
     * @date 2021-12-17 16:13:23
     **/
    Integer updateGoodsLabelCancelTop(Integer labelId);

}